import Vue from 'vue';
import VueRouter from 'vue-router';
import R101  from '../components/dataView/R101.vue';
import R10101  from '../components/dataView/R10101.vue';
//环境监测数据
import R10102  from '../components/dataView/R10102.vue';
//解译矿区数据
import R10103  from '../components/dataView/R10103.vue';
//地矿提供矿区数据
import R1010302  from '../components/dataView/R1010302.vue';
//乌海烟囱分布
import R1010303  from '../components/dataView/R1010303.vue';
//乌海煤层分布
import R1010304  from '../components/dataView/R1010304.vue';

//地表热辐射
import R10104  from '../components/dataView/R10104.vue';
//土地利用
import R10105  from '../components/dataView/R10105.vue';
//地表温度模型
import R10201  from '../components/model/R10201.vue';
//地表温度模型
import R10301  from '../components/statistics/R10301.vue';
//网格分析--地表温度
import R10303  from '../components/statistics/R10303.vue';

//import dataView from '../components/dataView/index.vue';
Vue.use(VueRouter);

const router = new VueRouter({
  // mode: 'history',
  base: __dirname,
  routes: [{
    path: '/',
    redirect: '/R101.html'
  },
  {
    path: '/R101.html',
    name: '/R101.html',
    component: R101,
  },
  {
    path: '/R102.html',
    name: '/R102.html',
    component: R101,
  },
  {
    path: '/R103.html',
    name: '/R103.html',
    component: R101,
  },
  {
    path: '/R104.html',
    name: '/R104.html',
    component: R101,
  },
  {
    path: '/R10101.html',
    name: '/R10101.html',
    component: R10101,
  },
  {
    path: '/R10102.html',
    name: '/R10102.html',
    component: R10102,
  },
  {
    path: '/R10103.html',
    name: '/R10103.html',
    component: R10103,
  },
  {
    path: '/R1010302.html',
    name: '/R1010302.html',
    component: R1010302,
  },
  {
    path: '/R1010303.html',
    name: '/R1010303.html',
    component: R1010303,
  },
  {
    path: '/R1010304.html',
    name: '/R1010304.html',
    component: R1010304,
  },
  {
    path: '/R10104.html',
    name: '/R10104.html',
    component: R10104,
  },
  {
    path: '/R10105.html',
    name: '/R10105.html',
    component: R10105,
  },
  {
    path: '/R10201.html',
    name: '/R10201.html',
    component: R10201,
  },
  {
    path: '/R10301.html',
    name: '/R10301.html',
    component: R10301,
  },
  {
    path: '/R10303.html',
    name: '/R10303.html',
    component: R10303,
  },




  ]
});

export default router;